<tmpl_include file='main_menu.html'>
<table border="0" width="100%" cellpading="0" cellspacing="6">
<tr>
	<td width="80%" valign="top">
    	<tmpl_if name='total_forums' op='==' value='0'>
        	<table width="100%" border="0" cellspacing="0" cellpadding="0">
                <tr>
                    <td class="cat_left_header"></td>
                    <td class="cat_header_background"></td>
                    <td class="cat_header_background"></td>
                    <td class="cat_header_background"></td>
                    <td class="cat_header_background"></td>
                    <td class="cat_right_header"></td>
                </tr>
                <tr>
                    <td class="cat_main_header_left"></td>
                    <td class="cat_main_header_background" colspan="4">Service Information</td>
                    <td class="cat_main_header_right"></td>
                </tr>
                <tr>
                    <td class="cat_sub_header_left"></td>
                    <td colspan="4" class="cat_sub_header_background"></td>
                    <td class="cat_sub_header_right"></td>
                </tr>
                <tr>
                <td colspan="6" class="no_forums_text">No Forums</td>
                </tr>
            </table>
        </tmpl_else>
            <tmpl_loop name='loop'>
                    <tmpl_if name='is_cat'>
                            <tmpl_if name='first_cat'>
                                    <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                            </tmpl_else>
                                            <tr>
                                                <td colspan="6" height="50"></td>
                                            </tr>
                            </tmpl_if>
                                            <tr>
                                                <td class="cat_left_header"></td>
                                                <td class="cat_header_background"></td>
                                                <td class="cat_header_background"></td>
                                                <td class="cat_header_background"></td>
                                                <td class="cat_header_background"></td>
                                                <td class="cat_right_header"></td>
                                            </tr>
                                            <tr>
                                                <td class="cat_main_header_left"></td>
                                                <td class="cat_main_header_background" colspan="4">{tmpl_var name='name'}</td>
                                                <td class="cat_main_header_right"></td>
                                            </tr>
                                            <tr>
                                                <td class="cat_sub_header_left"></td>
                                                <td colspan="2" class="cat_sub_header_background">{tmpl_var name='forum'}</td>
                                                <td class="cat_sub_header_background">{tmpl_var name='l_post'}</td>
                                                <td class="cat_sub_header_background">{tmpl_var name='topics_posts'}</td>
                                                <td class="cat_sub_header_right"></td>
                                            </tr>
                        </tmpl_if>
                            <tmpl_if name='ending_block' op='!=' value='true'>
                            		<tmpl_loop name='forums'>
                                    	<tmpl_if name='redirecting'>
                                        	<tr onMouseOver="this.bgColor='#ebf7fd';" onMouseOut="this.bgColor='white';" class="forum_row_highlight">
                                                <td height="45"></td>
                                                <td width="70" valign="middle" align="center" class="forum_border_bonly"><img src="/templates/default/images/forum_no_new_posts.gif" /></td>
                                                <td class="forum_border_wleft" style="padding-left: 10px;" colspan="3"><a href="{tmpl_var name='forum_url'}" class="forum_link">{tmpl_var name='f_name'}</a><br>{tmpl_var name='f_desc'}</td>
                                                <td></td>
                                            </tr>
                                    	</tmpl_else>
                                            <tr onMouseOver="this.bgColor='#ebf7fd';" onMouseOut="this.bgColor='white';" class="forum_row_highlight">
                                                <td height="45"></td>
                                                <td width="70" valign="middle" align="center" class="forum_border_bonly"><img src="/templates/default/images/forum_no_new_posts.gif" /></td>
                                                <td class="forum_border_wleft" style="padding-left: 10px;"><a href="{tmpl_var name='forum_url'}" class="forum_link">{tmpl_var name='f_name'}</a><br>{tmpl_var name='f_desc'}
                                                <tmpl_if name='subforums'>
                                                    <br /><br /><strong>Subforums: </strong> <tmpl_loop name='subforums'><tmpl_if name='first_sf' op='!=' value='true'>, </tmpl_if><a href="{tmpl_var name='sf_forum_url'}">{tmpl_var name="sf_name"}</a></tmpl_loop>
                                                </tmpl_if>
                                                </td>
                                                <td style="padding-left: 10px;" class="forum_border_wleft">
                                                <tmpl_if name='latest_post_date' op='!=' value=''>
                                                    <strong>Last Post</strong><em> - {tmpl_var name='latest_post_title'}</em><br /><strong>By</strong> <em>{tmpl_var name='latest_post_user'}</em><br /><strong>On</strong> <em>{tmpl_var name='latest_post_date'}</em>
                                                </tmpl_else>
                                                    <em>{tmpl_var name='n_posts'}</em>
                                                </tmpl_if>
                                                </td>
                                                <td align="center"><div class="total_pt"><strong>{tmpl_var name='t_total_topics'}</strong> {tmpl_var name='topics'}<br /><strong>{tmpl_var name='t_total_posts'}</strong> {tmpl_var name='posts'}</div></td>
                                                <td></td>
                                            </tr>
                                        </tmpl_if>
                                    </tmpl_loop>
                            </tmpl_else>
                                 </table>
                            </tmpl_if>
            </tmpl_loop>
        </tmpl_if>
		<tmpl_if name='whos_online_box_uforums'>
				<tmpl_include file='whos_online_box.html'>
		</tmpl_if>
	</td>
	<td width="1" bgcolor="#F0F0F0"></td>
	<td width="20%" valign="top">
		<table width="100%" border="0" cellspacing="0" cellpadding="0">
						<tr>
							<td class="cat_left_header"></td>
							<td class="cat_header_background"></td>
							<td class="cat_right_header"></td>
						</tr>
						<tr>
							<td class="cat_main_header_left"></td>
							<td class="cat_main_header_background">{tmpl_var name='nav'}</td>
							<td class="cat_main_header_right"></td>
						</tr>
						<tr>
							<td class="cat_sub_header_left"></td>
							<td class="cat_sub_header_background"></td>
							<td class="cat_sub_header_right"></td>
						</tr>
						<tr>
							<td></td>
							<td style="padding: 8px;"><a href="{tmpl_var name='index_location'}">{tmpl_var name='board_i'}</a><br /><a href="{tmpl_var name='memberlist_location'}">{tmpl_var name='members'}</a><br /><a href="{tmpl_var name='search_location'}">{tmpl_var name='search'}</a><br /><a href="{tmpl_var name='rules_location'}">{tmpl_var name='rules'}</a><br /></td>
							<td></td>
						</tr>
						<tr>
							<td colspan="3" height="20"></td>
						</tr>
						<tr>
							<td class="cat_left_header"></td>
							<td class="cat_header_background"></td>
							<td class="cat_right_header"></td>
						</tr>
						<tr>
							<td class="cat_main_header_left"></td>
							<td class="cat_main_header_background">{tmpl_var name='ucontrols'}</td>
							<td class="cat_main_header_right"></td>
						</tr>
						<tr>
							<td class="cat_sub_header_left"></td>
							<td class="cat_sub_header_background"></td>
							<td class="cat_sub_header_right"></td>
						</tr>
						<tr>
							<td></td>
							<td style="padding: 8px;"><tmpl_if name="is_logged_in">Logged in</tmpl_else>
							<div class="login_box"><br /><form action="login.php" method="post" enctype="multipart/form-data" target="_top" id="nev_form">
                                {tmpl_var name="username"}: <input type="text" name="nev_form_user" id="nev_form_user" /><br />
                                &nbsp;{tmpl_var name="password"}: <input type="password" name="nev_form_pass" id="nev_form_pass" /><br /><br />
                                <input type="submit" name="nev_form_submit" value="Login" id="nev_form_submit" />
                              <div style="display: none;"><input type="checkbox" name="nev_form_bot_box" value="value" id="nev_form_bot_box" /></div>
                            </form></div></tmpl_if></td>
							<td></td>
						</tr>
						<tr>
							<td colspan="3" height="20"></td>
						</tr>
						<tr>
							<td class="cat_left_header"></td>
							<td class="cat_header_background"></td>
							<td class="cat_right_header"></td>
						</tr>
						<tr>
							<td class="cat_main_header_left"></td>
							<td class="cat_main_header_background">{tmpl_var name='forum_stats'}</td>
							<td class="cat_main_header_right"></td>
						</tr>
						<tr>
							<td class="cat_sub_header_left"></td>
							<td class="cat_sub_header_background"></td>
							<td class="cat_sub_header_right"></td>
						</tr>
						<tr>
							<td></td>
							<td style="padding: 8px;">
								{tmpl_var name='current_stats'}<br /><br />
								{tmpl_var name='most_online'}
							</td>
							<td></td>
						</tr>
						</table>
</tr>
</table>
<tmpl_if name='whos_online_box_bottom'>
	<tmpl_include file='whos_online_box.html'>
</tmpl_if>